<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--CDN引入方式-->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<div id="app_model">
    <input type="text" v-model="val"><br>
    <input type="text" v-model="val">
    <h1>{{val}}</h1>
</div>

</body>

<script type="application/javascript">
    // 创建Vue对象
    var vm = new Vue({
        el: "#app_model",
        data: {
            val: null
        }
    });
</script>

</html>